package com.tenement.service;

import com.tenement.domain.TenementStreet;
import com.tenement.domain.TenementUser;

import java.util.List;

/**
 * @ClassName : StreetService  //类名
 * @Description : ${description}  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-06-07 11:32  //时间
 */
public interface StreetService {
    List<TenementStreet> findAll(TenementStreet street);

    List<TenementStreet> selectAll(String sectorId);

    Long overCount(TenementStreet street, String startDate, String endDate);

    int add(TenementStreet street, TenementUser user, String ip);

    int update(TenementStreet street, TenementUser user, String ip);

    int deleteById(String id, TenementUser user, String ip);

    int deleteAll(String[] ids, TenementUser user, String ip);

    TenementStreet findById(String id);
}
